﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="nm.aspx.cs" Inherits="lcreport.Web.nm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="css/comm.css" rel="stylesheet" />
    <link href="css/css.css" rel="stylesheet" />
    <link href="css/jb_form.css" rel="stylesheet" />
    <link href="css/ext-all.css" rel="stylesheet" />
    <link href="css/publict.css" rel="stylesheet" />
    <link href="css/theme.css" rel="stylesheet" />
    <link href="css/uploadify.css" rel="stylesheet" />
    <script src="js/jquery/jquery.js"></script>
    <script type="text/javascript" src="js/swfupload2.js"></script>
    <script src="ckeditor/ckeditor.js"></script>
    <script type="text/javascript" src="js/swfupload.swfobject.js"></script>
    <script type="text/javascript" src="js/swfupload.queue.js"></script>
    <script type="text/javascript" src="js/fileprogress.js"></script>
    <script src="js/noregister_writeReport.js"></script>
    <script type="text/javascript" src="js/handlers.js"></script>
    <script type="text/javascript">

        var allpath = '/jfzc';
        var fileNo = 0;
        //举报信主要问题最大长度
       
        function checkselect() {
            var fz = $('#txtfz').val();
            if (fz == 0) {
                alert('请选择问题所属地！');
                return false;
            }
            else {
                $('#<%# hfrobject.ClientID%>').val(fz);
            }
            var rq = $('#reportQuestionId1').val();
            if (rq == 0) {
                alert('请选择问题类别！');
                return false;
            }
            else {
                $('#<%# hfrtype.ClientID%>').val(rq);
            }
            var rqs = $('#questionclassification').val();
            if (rqs == 0) {
                alert('请选择问题类别！');
                return false;
            }
            else {
                $('#<%# hfrtypesub.ClientID%>').val(rqs);
            }
            return true;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="mytable">
        <input id="areacode" type="hidden" name="areacode">
        <input
            id="province_code" type="hidden" name="province_code">
        <input id="city_code" type="hidden"
            name="city_code">
        <input id="country_code" type="hidden" name="country_code">
        <input
            id="lettersource" type="hidden" value="网上举报" name="lettersource">
        <input id="isopen"
            type="hidden" value="1" name="isopen">
        <input id="isanonyname" type="hidden" value="1"
            name="isanonyname">
        <input id="lettercategory" type="hidden" value="举报投诉"
            name="lettercategory">
        <input id="reportObject" type="hidden" name="reportObject">
        <div class="left page_main">
            <div class="left page_main_bg">
                <div class="left fj_form_con">
                    <div class="left form_title">
                        <%--<div class="left form_title_nm"></div>--%>
                    </div>
                    <div class="left sear_table" style="MARGIN-TOP: 0px">
                        <table class="table_info" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td class="table_name" colspan="6">举报人信息（注意:标有 <font style="COLOR: red">* 
                                    </font>的必须填写） </td>
                                </tr>
                                <tr>
                                    <td class="td_name2" style="WIDTH: 115px">反映人姓名 </td>
                                    <td class="td_star" style="WIDTH: 15px">&nbsp; </td>
                                    <td class="td_info" style="WIDTH: 275px">
                                        <asp:TextBox ID="txtrname" runat="server" Width="200px"></asp:TextBox>
                                        &nbsp;</td>
                                    <td class="td_name2" style="WIDTH: 115px">联系电话 </td>
                                    <td class="td_star" style="WIDTH: 15px">&nbsp; </td>
                                    <td class="td_info" style="WIDTH: 275px">&nbsp;<asp:TextBox ID="txtrtel" runat="server" Width="200px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_name2">电子邮件 </td>
                                    <td class="td_star" style="WIDTH: 15px">&nbsp; </td>
                                    <td class="td_info">
                                        <asp:TextBox ID="txtremail" runat="server" Width="200px"></asp:TextBox>
                                        &nbsp;</td>
                                    <td class="td_name2">所属地区 </td>
                                    <td class="td_star" style="WIDTH: 15px">&nbsp; </td>
                                    <td class="td_info">&nbsp;<asp:TextBox ID="txtrdiqu" runat="server" Width="200px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_name2">联系地址 </td>
                                    <td class="td_star" style="WIDTH: 15px">&nbsp; </td>
                                    <td class="td_info" colspan="4">
                                        <asp:TextBox ID="txtradd" runat="server" Width="200px"></asp:TextBox>
                                        &nbsp;</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="left sear_table">
                        <table class="table_info" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td class="table_name" colspan="6">举报信息（注意:标有 <font style="COLOR: red">* 
                                    </font>的必须填写） </td>
                                </tr>
                                <tr>
                                    <td class="td_name2" style="WIDTH: 115px">问题所属地 </td>
                                    <td class="td_star" style="WIDTH: 15px"><font style="COLOR: red">* 
                                    </font></td>
                                    <td class="td_info" style="WIDTH: 275px">
                                        <select id="txtfz" class="input_sele" style="WIDTH: 127px" name="D1">
                                            <option selected value="0">==请选择==</option>
                                            <option value="聊城市">聊城市</option>
                                            <option value="东昌府区">东昌府区</option>
                                            <option value="阳谷县">阳谷县</option>
                                            <option value="莘县">莘县</option>
                                            <option value="茌平县">茌平县</option>
                                            <option value="东阿县">东阿县</option>
                                            <option value="冠县">冠县</option>
                                            <option value="高唐县">高唐县</option>
                                            <option value="临清市">临清市</option>
                                            <option value="经济技术开发区">经济技术开发区</option>
                                            <option value="高新技术产业开发区">高新技术产业开发区</option>
                                            <option value="江北水城旅游度假区">江北水城旅游度假区</option>

                                        </select><asp:HiddenField ID="hfrtype" runat="server" />
                                        <asp:HiddenField ID="hfrtypesub" runat="server" />
                                        <asp:HiddenField ID="hfrobject" runat="server" />
                                    </td>
                                    <td class="td_name2" style="WIDTH: 115px">被反映人(单位) </td>
                                    <td class="td_star" style="WIDTH: 15px"><font style="COLOR: red">* 
                                    </font></td>
                                    <td class="td_info" style="WIDTH: 275px"><asp:TextBox ID="txtrwork" runat="server" Width="200px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtrwork">不能为空</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_name2" style="WIDTH: 115px">问题类别 </td>
                                    <td class="td_star" style="WIDTH: 15px"><font style="COLOR: red">* 
                                    </font></td>
                                    <td class="td_info" colspan="4">
                                        <select
                                            onchange="change_reportQuestionId1(this.value)" id="reportQuestionId1"
                                            class="input_sele" style="WIDTH: 689px" name="reportQuestionId1">
                                            <option selected value="0">==请选择==</option>
                                            <option value="涉农专项资金">涉农专项资金</option>
                                            <option value="土地征收管理">土地征收管理</option>
                                            <option value="城乡低保救助">城乡低保救助</option>
                                            <option value="社会保险基金">社会保险基金</option>
                                            <option  value="医疗卫生服务">医疗卫生服务</option>
                                            <option  value="中小学义务教育">中小学义务教育</option>
                                            <option  value="小农水工程建设">小农水工程建设</option>
                                            <option  value="农机购置补贴">农机购置补贴</option>
                                        </select>

                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_name2" style="WIDTH: 115px">问题细类 </td>
                                    <td class="td_star" style="WIDTH: 15px"><font style="COLOR: red">* 
                                    </font></td>
                                    <td class="td_info" colspan="4">
                                        <select id="questionclassification"
                                            class="input_sele" style="WIDTH: 689px" name="questionclassification">
                                            <option selected value="0">==请选择==</option>
                                        </select></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="left sear_table">
                        <table class="table_info" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td class="table_name" colspan="4">举报正文（注意:标有 <font style="COLOR: red">* 
                                    </font>的必须填写） </td>
                                </tr>
                                <tr>
                                    <td class="td_name2" style="WIDTH: 115px">标题(最多50字) </td>
                                    <td class="td_star" style="WIDTH: 15px"><font style="COLOR: red">* 
                                    </font></td>
                                    <td class="td_info" style="WIDTH: 715px"><asp:TextBox ID="txtrtitle" runat="server" Width="200px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtrtitle">不能为空</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_name2">主要问题
                                    </td>
                                    <td class="td_star" style="WIDTH: 15px"><font style="COLOR: red">* 
                                    </font></td>
                                    <td class="td_info" style="HEIGHT: 325px">
                                        <asp:TextBox ID="txtcontent" runat="server" Height="315px" TextMode="MultiLine" Style="FONT-SIZE: 15px; WIDTH: 682px"
                                            Width="682px"></asp:TextBox>
                                        <%--<script type="text/javascript">
                CKEDITOR.replace('<%= txtcontent.ClientID %>', { skin: 'office2013' });
</script>--%>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtcontent" ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="left sear_table">
                        <table class="table_info" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td class="table_name" colspan="3">上传附件 </td>
                                </tr>
                                <tr>
                                    <td class="td_name2" style="WIDTH: 115px" rowspan="3">附件 </td>
                                    <td class="td_star" style="WIDTH: 15px" rowspan="3">&nbsp; </td>
                                    <td class="td_info" style="WIDTH: 730px">
                                        <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                            <tbody>
                                                <tr>
                                                    <td><span id="spanButtonPlaceholder"></span>
                                                        <!-- <input id="btnUpload" type="button" value="上传附件" class="btn"/> -->
                                                        <!-- <input id="btnCancel" type="button" value="取消全部上传" disabled="disabled" style="margin-bottom:3px;cursor: pointer;"/> -->
                                                        <asp:FileUpload ID="FileUpload1" runat="server" />
                                                        <br />
                                                        <asp:FileUpload ID="FileUpload2" runat="server" />
                                                        <br />
                                                        <asp:FileUpload ID="FileUpload3" runat="server" />
                                                        <br />
                                                        <asp:FileUpload ID="FileUpload4" runat="server" />
                                                        <br />
                                                        <asp:FileUpload ID="FileUpload5" runat="server" />
                                                    </td>
                                                    <td style="FONT-SIZE: 12px" align="left"><span
                                                        id="files"></span></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                        <!--<span style="font-size: 12px;">等待上传<span id="idFileListCount">0</span>个，成功上传 <span id="idFileListSuccessUploadCount">0</span>个</span>-->
                                        <div id="divSWFUploadUI" style="VISIBILITY: hidden"></div>
                                        <noscript
                                            style="DISPLAY: block">
                                        </noscript>
                                        <div id="divLoadingContent" class="content"
                                            style="BORDER-TOP: #ff9966 4px solid; BORDER-BOTTOM: #ff9966 4px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 15px; MARGIN: 10px 25px; DISPLAY: none; PADDING-RIGHT: 15px; BACKGROUND-COLOR: #ffff66">
                                            附件上传界面正在载入，请稍后... 
                                        </div>
                                        <div id="divLongLoading" class="content"
                                            style="BORDER-TOP: #ff9966 4px solid; BORDER-BOTTOM: #ff9966 4px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 15px; MARGIN: 10px 25px; DISPLAY: none; PADDING-RIGHT: 15px; BACKGROUND-COLOR: #ffff66">
                                            附件上传界面载入失败，请确保浏览器已经开启对JavaScript的支持，并且已经安装可以工作的Flash插件版本。 
                                        </div>
                                        <div id="divAlternateContent" class="content"
                                            style="BORDER-TOP: #ff9966 4px solid; BORDER-BOTTOM: #ff9966 4px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 15px; MARGIN: 10px 25px; DISPLAY: none; PADDING-RIGHT: 15px; BACKGROUND-COLOR: #ffff66">
                                            很抱歉，附件上传界面无法载入，请安装或者升级您的Flash插件。 
      请访问： <a
          href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
          target="_blank">Adobe网站</a> 获取最新的Flash插件。
                                        </div>
                                    </td>
                                </tr>
                                <tr style="HEIGHT: 80px">
                                    <td class="td_info" style="PADDING-LEFT: 15px; PADDING-RIGHT: 15px"><font
                                        color="red" size="3">温馨提示：最多可同时上传 5 个文件，每个文件只允许上传2M 大小。 
      附件仅限于文件名<br>
                                        后缀为.doc、.jpg、.gif、.txt、.pdf、.rm的文件。 
                                    </font></td>
                                </tr>
                                 
                                <tr style="HEIGHT: 80px">
                                    <td class="td_info" style="PADDING-LEFT: 15px; PADDING-RIGHT: 15px">验证码：<asp:TextBox ID="txtCode" runat="server"></asp:TextBox>
                                     <a href="javascript:scode()">
                                                <img id="imgcode"
                                                    style="CURSOR: hand" name="randomming" alt="点击重获验证码."
                                                    src="img.aspx" align="absMiddle"></a></td>
                                </tr>
                                 
                            </tbody>
                        </table>
                    </div>
                    <div class="left oper_box" style="MARGIN-TOP: 30px">
                        <table align="center">
                            <tbody>
                                <tr>
                                    <td style="WIDTH: 100px">
                                        <asp:Button ID="btnOK" runat="server" CssClass="but_submit" OnClick="btnOK_Click" Text="提 交" OnClientClick="return checkselect();" /></td>
                                    <td style="WIDTH: 100px">
                                        <input class="but_submit" type="reset" value="重 填">
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
